﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display.MarketUI {
    import org.aswing.*;
    import Display.*;
    import Display.aswingui.*;

    public class MarketCellCustomText extends MarketCell {

        private var m_buttonText:String;

        public function MarketCellCustomText(_arg1:String, _arg2:LayoutManager=null){
            super(_arg2);
            this.m_buttonText = _arg1;
        }
        override protected function setupPurchaseButton():void{
            m_purchaseButton = new CustomButton(this.m_buttonText, null, "CoinsButtonUI");
            var _local1:ASFont = m_purchaseButton.getFont();
            m_purchaseButton.setFont(_local1.changeSize(TextFieldUtil.getLocaleFontSizeByRatio(_local1.getSize(), 1, [{
                locale:"de",
                ratio:0.8
            }, {
                locale:"id",
                ratio:0.75
            }, {
                locale:"es",
                ratio:0.9
            }, {
                locale:"fr",
                ratio:1
            }, {
                locale:"it",
                ratio:0.8
            }, {
                locale:"pt",
                ratio:0.9
            }, {
                locale:"tr",
                ratio:0.8
            }])));
        }

    }
}//package Display.MarketUI 
